package com.wicket.okrapp.integration.dto;

import com.wicket.okrapp.common.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @desc AddTimerReportTaskPlanComReqDto
 * @使用场景
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class AddTimerReportTaskPlanComReqDto
  extends BaseDto
  implements Serializable {

  @ApiModelProperty("被评对象目标周期列表 ")
  List<String> evaObjTargetCycleList = new ArrayList<>();

  /**
   * 关联目标内容类型编码 TARGET:目标 TARGET_CATEGORY:目标分类 OBJECTIVE:指标
   */
  @NotNull(message = "关联目标内容类型编码不能为空")
  @ApiModelProperty("关联目标内容类型编码")
  private String targetCycleContentTypeCode;

  /**
   * 冗余目标ID
   */
  @NotNull(message = "冗余目标ID不能为空")
  @ApiModelProperty("冗余目标ID")
  private String targetId;

}
